package com.chhh.cranelease.service;

import com.chhh.cranelease.entity.CarLog;
import com.chhh.cranelease.entity.Parts;
import com.chhh.cranelease.model.CarLogModel;

import java.util.List;

public interface BusinessManageService {
    List<CarLogModel> selectAllUseCar(String cl_num, String cl_name, String cl_outtime, String cl_days, String cl_company);

    Integer insertCarLog(CarLog carLog);

    Integer updateCarLog(CarLog carLog);

    // 配件

    List<Parts> selectAllParts(String p_date, String p_des, String p_num);

    Integer insertParts(Parts parts);

    Integer updateParts(Parts parts);

    Integer deleteParts(Integer[] p_id);
}
